package com.gitee.tje.waving.aop;

/**
 * @author taojiaen
 * @date 2018-03-08 08:40
 */
public class AppleMethodHook implements MethodHook {
    @Override
    public Object process(MethodProcess methodProcess) {
        System.out.println("hook a");
        Object ret =  methodProcess.process();
        System.out.println("hook a end");
        return ret;
    }

    @Override
    public int getOrder() {
        return 0;
    }
}
